package com.kaifamiao.month04.day21.homework;

public class Demo {

    public static void main(String[] args) {
        Shape t = new Triangle(30,40,50);
        t.calculate();
        t.show();

        Shape c = new Circle(12);
        c.calculate();
        c.show();
     }
}
